<template>
  <div class="container">
    <a-table class="table" :rowKey="row => row.user_id" :dataSource="list">
      <a-table-column title="用户名" width="60px">
        <template slot-scope="row">
          <div>{{row.user_name}}</div>
        </template>
      </a-table-column>
      <a-table-column title="手机号" width="60px">
        <template slot-scope="row">
          <div>{{row.phone}}</div>
        </template>
      </a-table-column>
      <a-table-column title="红包" width="60px">
        <template slot-scope="row">
          <div>{{row.score / 100}}</div>
        </template>
      </a-table-column>
      <a-table-column title="时间" width="60px">
        <template slot-scope="row">
          <div>{{row.created_at}}</div>
        </template>
      </a-table-column>
      
    </a-table>


  </div>
</template>

<script>
  // import AttrEditor from "./components/AttrEditor"


  export default {
    components: {

    },
    data() {
      return {
        info: {},
        list: []
      }
    },
    computed: {
    },
    props: {
      participant: []
    },
    created() {
      this.list = this.participant;
      console.log(this.participant)
    },
    mounted() {},
    watch: {},
    methods: {
      cancel() {
        this.$router.back(-1)
      }
    }
  }
</script>

<style lang="scss" scoped>
  .form-container {
    padding-bottom: 120px;
  }

  .container {
    .btn {
      margin-right: 30px;
    }
  }

  .tips-c {
    margin-bottom: 20px;
    font-weight: 500;
  }
</style>
